/*
入口JS
*/
import Vue from 'vue'
import { Button } from 'mint-ui'
import VueLazyload from 'vue-lazyload'
import App from './App'
import router from '@/router'
import store from './store'
import './mock/mockServer'// 加载mockServer
import loading from '@/common/imgs/tim.gif'
import './filters' //加载时间过滤器
Vue.use(VueLazyload, { // 内部自定义一个指令lazy
  loading
})



Vue.config.productionTip = false

// 注册全局组件标签
Vue.component(Button.name, Button)  // <mt-button>
new Vue({
  el: '#app',
  render: h => h(App),
  router,
  store

})